accessibility
Macromedia Logo Upper Navigation Bar
 Help
Lower Navigation Bar
ProductsSupportDesigner DeveloperDownloadsStoreInternationalSite MapCompany
Home > Products > Director > Support > TechNote Index
Macromedia Director Support Center - TechNote

Testing for the operating system on the end-user's computer

Product: Director
Platform: All
Versions: 8.5 to MX
ID: 15939
How useful was this document?
less more

1

2

3

4

5

How can the document be improved? (300 characters or less - you will not receive a reply.)

This sample movie uses the Lingo term 'the environment' to determine the end-users operating system. 'The environment' has several accessible properties via the property list. To understand what properties are available to this list, type the following into the Message Window:

put the environment (and press ENTER
)

Note:This movie is made for Director version 8.5 and above. In Director versions prior to 8.5, '#platform' is the only property available to 'the environment'. This property will only display the platform (i.e. Windows or Macintosh).

Developer Notes
The sample file included in this TechNote contains code comments and a cast member named "Developer Notes" which contains implementation details.

Lingo
The following lingo commands were used to create the functionality in this sample movie. Please refer to the Lingo dictionary for more information about these terms: the environment, global, alert, count, getaProp, repeat, contains,

Note: This is just one of the many ways to create this functionality in Director.
This download contains the following file:

> osTest.dir

Download the Windows zip file

Last updated: January 28, 2003
Keywords: the environment, global, alert, count, list, os, #osversion, osversion, #platform, operating system
Created: October 22, 2001

©1995-2003 Macromedia, Inc. All rights reserved.
Use of this website signifies your agreement to the Terms of Use.
Privacy | Site Map
| Contact us | Accessibility | Report Piracy